package com.ruoyi.eduManage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生信息对象 edu_student
 * 
 * @author ruoyi
 * @date 2025-10-26
 */
public class EduStudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生ID */
    private Long studentId;

    /** 学号 */
    @Excel(name = "学号")
    private String studentNo;

    /** 学生真实姓名 */
    @Excel(name = "学生真实姓名")
    private String studentName;

    /** 英文名 */
    @Excel(name = "英文名")
    private String englishName;

    /** 性别0男 1女 2 未知 */
    @Excel(name = "性别")
    private String sex;

    /** 联系人电话 */
    @Excel(name = "联系人电话")
    private String contactPhone;

    /** 所属班级ID */
    @Excel(name = "所属班级")
    private String classId;

    /** 班级名称（仅出参使用） */
    private String className;

    /** 入学日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入学日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date enrollDate;

    /** 状态（0在读 1结业 2休学 3退学） */
    @Excel(name = "状态", readConverterExp = "0=在读,1=结业,2=休学,3=退学")
    private String status;

    /** 积分数 */
    @Excel(name = "积分数")
    private Integer points;

    /** 逻辑删除标识（0正常 1删除） */
    private String delFlag;

    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }

    public void setStudentNo(String studentNo) 
    {
        this.studentNo = studentNo;
    }

    public String getStudentNo() 
    {
        return studentNo;
    }

    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }

    public void setEnglishName(String englishName) 
    {
        this.englishName = englishName;
    }

    public String getEnglishName() 
    {
        return englishName;
    }

    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }

    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }

    public void setClassId(String classId)
    {
        this.classId = classId;
    }

    public String getClassId()
    {
        return classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public void setEnrollDate(Date enrollDate) 
    {
        this.enrollDate = enrollDate;
    }

    public Date getEnrollDate() 
    {
        return enrollDate;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public Integer getPoints() {
        return points;
    }

    public void setPoints(Integer points) {
        this.points = points;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentId", getStudentId())
            .append("studentNo", getStudentNo())
            .append("studentName", getStudentName())
            .append("englishName", getEnglishName())
            .append("sex", getSex())
            .append("contactPhone", getContactPhone())
            .append("classId", getClassId())
            .append("className", getClassName())
            .append("enrollDate", getEnrollDate())
            .append("status", getStatus())
            .append("points", getPoints())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
